#!/bin/bash
BASE_PATH=$(dirname "$0")
echo "begin build gaussdb-used-server,path=${BASE_PATH}"
cd "$BASE_PATH" || exit 1
docker rmi swr.cn-north-4.myhuaweicloud.com/wmwei/gaussdb-used-server:0.0.1
docker build -t swr.cn-north-4.myhuaweicloud.com/wmwei/gaussdb-used-server:0.0.1 .
echo "build gaussdb-used-server end"
cd - || exit 0